﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Profile;
using System.Data;

namespace WebSite.cn
{
    public partial class products_detfrm : System.Web.UI.Page
    {
     

        // Methods
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!base.IsPostBack && (base.Request.QueryString["pid"] != null))
            {
                DataTable table = SQLAccess.GreatDs("select procontent from DB_Shoppro where proid=" + base.Request.QueryString["pid"] + "").Tables[0];
                if (table.Rows.Count > 0)
                {
                    tdContent.InnerHtml =  table.Rows[0][0].ToString();
                }
            }
        }

    }
}